import request from '@/utils/request'

export default {
    //生成统计数据
    createStatistics(day) {
        return request({
            url: `/edustatistics/sta/getRegisterCount/${day}`,
            method: 'post'
        })
    },
    //查询图表数据
    showData(searchObj) {
        return request({
            url: `/edustatistics/sta/showGraph/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
            method: "get"
        })
    }

}